
#!/bin/python3
import os
#import commands
val = os.system('export INSTALL_K3S_VERSION=v1.20.7+k3s1')
val = os.system('export K3S_TOKEN=K109c2dd45c16ebce6fa201829604a0a968480c2555295cdea763cadc50df43a680::server:2e213e8914a515423ace1f1818e9c415')
val = os.system('export K3S_URL=https://192.168.90.209:6443')
val = os.system('export INSTALL_K3S_EXEC="--docker --kube-apiserver-arg service-node-port-range=1-65000 --no-deploy traefik --write-kubeconfig    ~/.kube/config --write-kubeconfig-mode 666"')
val = os.system('sudo wget   https://gitee.com/haolixu/test/raw/master/k8s/k3s-install.sh  ')

val = os.system('sh k3s-install.sh')
